<template>
  <view class="bgwrap">
    <image src="../../static/bg/bg.svg" class="bg"></image>
    
    <view class="skip" @click="goLogin">
      跳过
    </view>
  </view>
</template>

<script>
  export default {
    data() {
      return {
        
      }
    },
    methods: {
      goLogin() {
        console.log('xx');
        uni.setStorageSync('bg-home', 'bg-home');
        uni.navigateTo({
          url: '/pages/login/login'
        });
      }
    }
  }
</script>

<style scoped style="scss">
  .bgwrap {
    width: 100vw;
    height: 100vh;
  }
.bg {
  width: 100%;
  height: 100%;
}
.skip {
  width: 80rpx;
  height: 32rpx;
  border-radius: 50rpx;
  background: rgba(1, 154, 255, 0.2);
  position: fixed;
  right: 40rpx;
  top: 60rpx;
  font-size: 16rpx;
  line-height: 32rpx;
  text-align: center;
  color: rgb(255, 255, 255);
}
</style>
